<!DOCTYPE html>
<html>
<head>
	<title>流失客户管理</title>
	<#include "../common.ftl">
</head>
<body class="childrenBody">

<form class="layui-form" >
	<#--<blockquote class="layui-elem-quote quoteBox">
	</blockquote>-->

    <fieldset class="layui-elem-field layui-field-title">
        <legend style="color: red" align="center">流失客户管理</legend>
        <div class="layui-field-box" align="center">
            <form class="layui-form">
                <div class="layui-inline">
                    <#if permissions?seq_contains("202001")>
                        <div class="layui-input-inline">
                            <input type="text" name="cusNo"
                                   class="layui-input
					searchVal" placeholder="客户编号" />
                        </div>
                        <div class="layui-input-inline">
                            <input type="text" name="cusName" class="layui-input
					searchVal" placeholder="客户名" />
                        </div>
                        <div class="layui-input-inline">
                            <select name="state"  id="state"  >
                                <option value="" >请选择</option>
                                <option value="0">暂缓流失</option>
                                <option value="1" >确认流失</option>
                            </select>
                        </div>
                        <a class="layui-btn search_btn" data-type="reload"><i
                                    class="layui-icon">&#xe615;</i> 搜索</a>
                    </#if>
                    <a class="layui-btn" data-type="reload" id="refresh"><i
                                class="layui-icon">&#xe669;</i> 刷新</a>
                </div>
            </form>
        </div>
    </fieldset>

    <hr/>

    <#-- 显示所有流失客户信息 -->
	<table id="customerLossList" class="layui-table"  lay-filter="customerLosses"></table>

	<script type="text/html" id="toolbarDemo">
	</script>

	<!--操作-->
	<script id="op" type="text/html" >
		{{# if (d.state=== 0 ) { }}
            <#if permissions?seq_contains("202003")>
			<a href="javascript:;"  class="layui-btn layui-btn-warm layui-btn-xs"  lay-event="add">添加暂缓</a>
            </#if>
		{{# } else { }}
            <#if permissions?seq_contains("202002")>
			<a href="javascript:;" class="layui-btn layui-btn-normal layui-btn-xs"  lay-event="info">详情</a>
            </#if>
		{{# } }}
	</script>

</form>
<script type="text/javascript" src="${ctx}/js/customerLoss/customer.loss.js"></script>

</body>
</html>